Other Enums
The following enums are available globally.
-
Controls the translation reference point.
See moreDeclaration
Objective-C
enum MGLCircleStyleLayerCircleTranslateAnchor : NSUInteger {}
Swift
enum MGLCircleStyleLayerCircleTranslateAnchor : UInt
-
Controls the scaling behavior of the circle when the map is pitched.
See moreDeclaration
Objective-C
enum MGLCircleStyleLayerCirclePitchScale : NSUInteger {}
Swift
enum MGLCircleStyleLayerCirclePitchScale : UInt
-
Controls the translation reference point.
See moreDeclaration
Objective-C
enum MGLFillStyleLayerFillTranslateAnchor : NSUInteger {}
Swift
enum MGLFillStyleLayerFillTranslateAnchor : UInt
-
The display of line endings.
See moreDeclaration
Objective-C
enum MGLLineStyleLayerLineCap : NSUInteger {}
Swift
enum MGLLineStyleLayerLineCap : UInt
-
The display of lines when joining.
See moreDeclaration
Objective-C
enum MGLLineStyleLayerLineJoin : NSUInteger {}
Swift
enum MGLLineStyleLayerLineJoin : UInt
-
Controls the translation reference point.
See moreDeclaration
Objective-C
enum MGLLineStyleLayerLineTranslateAnchor : NSUInteger {}
Swift
enum MGLLineStyleLayerLineTranslateAnchor : UInt
-
Label placement relative to its geometry.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerSymbolPlacement : NSUInteger {}
Swift
enum MGLSymbolStyleLayerSymbolPlacement : UInt
-
In combination with
See moresymbolPlacement
, determines the rotation behavior of icons.Declaration
Objective-C
enum MGLSymbolStyleLayerIconRotationAlignment : NSUInteger {}
Swift
enum MGLSymbolStyleLayerIconRotationAlignment : UInt
-
Scales the icon to fit around the associated text.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerIconTextFit : NSUInteger {}
Swift
enum MGLSymbolStyleLayerIconTextFit : UInt
-
Orientation of text when map is pitched.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerTextPitchAlignment : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextPitchAlignment : UInt
-
In combination with
See moresymbolPlacement
, determines the rotation behavior of the individual glyphs forming the text.Declaration
Objective-C
enum MGLSymbolStyleLayerTextRotationAlignment : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextRotationAlignment : UInt
-
Text justification options.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerTextJustify : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextJustify : UInt
-
Part of the text placed closest to the anchor.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerTextAnchor : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextAnchor : UInt
-
Specifies how to capitalize text, similar to the CSS
See moretext-transform
property.Declaration
Objective-C
enum MGLSymbolStyleLayerTextTransform : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextTransform : UInt
-
Controls the translation reference point.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerIconTranslateAnchor : NSUInteger {}
Swift
enum MGLSymbolStyleLayerIconTranslateAnchor : UInt
-
Controls the translation reference point.
See moreDeclaration
Objective-C
enum MGLSymbolStyleLayerTextTranslateAnchor : NSUInteger {}
Swift
enum MGLSymbolStyleLayerTextTranslateAnchor : UInt
-
These constants represent the scheme that the tile URL templates will use.
Declaration
Objective-C
enum MGLTileSetScheme : NSUInteger {}
Swift
enum MGLTileSetScheme : UInt
-
Error constants for the Mapbox SDK.
See moreDeclaration
Objective-C
enum MGLErrorCode : NSInteger {}
Swift
enum MGLErrorCode : Int
-
Options for enabling debugging features in an
See moreMGLMapView
instance.Declaration
Objective-C
enum MGLMapDebugMaskOptions : NSUInteger {}
Swift
struct MGLMapDebugMaskOptions : OptionSet
-
These constants indicate the current drag state of an annotation view.
See moreDeclaration
Objective-C
enum MGLAnnotationViewDragState : NSUInteger {}
-
The vertical alignment of an annotation within a map view. Used with
See moreMGLMapView.userLocationVerticalAlignment
.Declaration
Objective-C
enum MGLAnnotationVerticalAlignment : NSUInteger {}
Swift
enum MGLAnnotationVerticalAlignment : UInt